export const ZT_CELL_COLUMN = [
  {
    label: '自提门店',
    labelStyle: 'font-size: 24rpx;color: #666;',
    showRightIcon: true,
    fields: ['addAlias'],
    customParams: {
      popPage: 'selectStore'
    },
    methodName: 'showPopFn',
  },
  {
    label: '自提时间',
    labelStyle: 'font-size: 24rpx;color: #666;',
    fields: ['selfTakeTime'],
    showRightIcon: true,
    customParams: {
      popPage: 'selectSelfDeliveryTime'
    },
    methodName: 'showPopFn',
  },
  {
    label: '提货人姓名',
    labelStyle: 'font-size: 24rpx;color: #666;',
    fields: ['receiverName'],
    rightEl: 'input',
    inputWidth: 400,
    maxLength: 12,
    showRightIcon: true,
  },
  {
    label: '提货人电话',
    labelStyle: 'font-size: 24rpx;color: #666;',
    fields: ['mobile'],
    rightEl: 'input',
    inputWidth: 400,
    inputType: 'number',
    maxLength: 11,
    showRightIcon: true,
  }
]

export const ORDER_CELL_COLUMN = [
  // {
  //   label: '支付方式',
  //   labelStyle: 'font-size: 24rpx;color: #666;',
  //   fields: ['payName'],
  //   showRightIcon: true,
  //   customParams: {
  //     popPage: 'payWay'
  //   },
  //   methodName: 'showPopFn',
  // },
  {
    label: '配送方式',
    labelStyle: 'font-size: 24rpx;color: #666;',
    fields: ['deliverWayText'],
    customParams: {
      popPage: 'deliverWay'
    },
    showRightIcon: true,
    methodName: 'showPopFn',
  },
  {
    label: '发货方式',
    labelStyle: 'font-size: 24rpx;color: #666;',
    fields: ['sendTypeText'],
    customParams: {
      popPage: 'sendType'
    },
    showRightIcon: true,
    methodName: 'showPopFn',
  },
  {
    label: '发票',
    labelStyle: 'font-size: 24rpx;color: #666;',
    fields: ['invoiceFlagText'],
    customParams: {
      popPage: 'invoice'
    },
    showRightIcon: true,
    methodName: 'showPopFn',
  },
  {
    label: '资质文件',
    labelStyle: 'font-size: 24rpx;color: #666;',
    fields: ['needQualificationText'],
    customParams: {
      popPage: 'needQualification'
    },
    showRightIcon: true,
    methodName: 'showPopFn',
  },
  {
    label: '备注',
    labelStyle: 'font-size: 24rpx;color: #666666;',
    fields: ['orderRemark'],
    // rightEl: 'input',
    // inpDisabled: true,
    contentStyle: 'padding-right: 32rpx;',
    customParams: {
      popPage: 'remarks'
    },
    placeholder: '如有定制、加工、装卸等增值服务需求请咨询客服',
    methodName: 'showPopFn',
  }
]

export const PRICE_CELL_COLUMN = [
  {
    label: '商品金额',
    labelStyle: 'font-size: 24rpx;color: #666;',
    fields: ['goodTotalMoney'],
    rightTextType: 'money',
  },
  {
    label: '运费',
    labelStyle: 'font-size: 24rpx;color: #666;',
    fields: ['freight'],
    rightTextType: 'money',
  },
  {
    label: '运费分摊',
    labelStyle: 'font-size: 24rpx;color: #666;',
    fields: ['freightTypeText'],
    showRightIcon: true,
    methodName: 'showFreFn',
  },
  {
    label: '满减',
    labelStyle: 'font-size: 24rpx;color: #666;',
    fields: ['reduceTotalMoney'],
    rightTextType: 'money',
  },
  {
    label: '优惠券',
    labelStyle: 'font-size: 24rpx;color: #666;',
    fields: ['couponRealValue'],
    rightTextType: 'money',
    contentStyle: 'padding-right: 12rpx;',
    showRightIcon: true,
    methodName: 'showCouponFn',
  }
]